import request from '@/utils/request'
export default{
    //登录
    UserLogin(loginInfo){
        return request({
            url:'/api/ucenter/login',
            method:'post',
            data: loginInfo
        })    
    },

    //根据token获取用户信息

    getLoginInfo(){
        return request({
            url:'/api/ucenter/auth/getLogin',
            method:'get'
            // headers: {'token': cookie.get('token')}
        })
    }

}